package sg.edu.nus.iss.billing.gui;

import sg.edu.nus.iss.billing.entity.Customer;
import sg.edu.nus.iss.billing.privilege.User;

/*
 * This class holds the current session context for the application
 */
public class SessionContext {

	private static Customer customer = null;
	private static User user = null;
	
	public static Customer getCustomer() {
		return SessionContext.customer;
	}
	
	public static void setCustomer(Customer myCustomer) {
		SessionContext.customer = myCustomer;
	}
	
	public static User getUser() {
		return SessionContext.user;
	}
	
	public static void setUser(User myUser) {
		SessionContext.user = myUser;
	}
	
	
}
